const Layout = () => import("@/layout/index.vue")

export default [
    {
        path: '/task',
        component: Layout,
        redirect: '/task/manage/list',
        name: '任务管理',
        meta: { title: '任务管理', icon: 'user' },
        icon: 'Setting',
        children: [
            {
                path: 'manage/list',
                name: '任务管理',
                component: () => import('@/views/task/manage/list.vue'),
                meta: { title: '任务管理' }
            },
            {
                path: 'statistics/list',
                name: '统计查询',
                component: () => import('@/views/task/statistics/list.vue'),
                meta: { title: '统计查询' }
            },
            {
                path: 'call/list',
                name: '外呼记录查询',
                component: () => import('@/views/task/call/list.vue'),
                meta: { title: '外呼记录查询' }
            }
        ]
    }


]